package com.hopu.blb_erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hopu.blb_erp.entity.TMenu;

import java.util.List;

public interface TMenuMapper extends BaseMapper<TMenu> {

    Integer selectCounts();
    List<TMenu> selectPages(Integer current, Integer pageSize);
    List<TMenu> selectAll();
    List<TMenu> selectName(String name);
    List<TMenu> selectWareNo(String wareNo);
    //通过名字查仓库
    TMenu selectNames(String name);
    //通过id查仓库
    List<TMenu> selectsById(Integer id);
    List<TMenu> selectsAll();

    //根据仓库编号查询名字
    TMenu selectTMenuByMenuNo(String menuId);


    //查询所有仓库
    List<TMenu> selectAllTMenus();

}
